package com.dhcc.sds.base.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.dhcc.core.framework.base.entity.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * 质控项目操作日志表
 * 
 * @ClassName: SdsQcentityItemLogEntity
 * @Description: TODO
 * @author sunyingjie
 * @date 2021-04-09 10:05:31
 */
@TableName("t_sds_ct_qcentity_item_log")
public class SdsQcentityItemLogEntity extends BaseEntity<SdsQcentityItemLogEntity> {
	private static final long serialVersionUID = 1L;
	
	//病种ID
	private Long entityId;
	@TableField(exist = false)
	private SdsQcentityEntity qcentity;
	//标准项目ID
	private Long entityItemId;
	@TableField(exist = false)
	private SdsQcentityItemEntity qcentityItem;
	//操作类型【1：新增】【2：修改】【3：删除】
	private Integer operType;	
	//操作日期
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date operTime;	
	//操作人
	private String operUser;	
	//操作内容
	private String operContent;	

	/**
	 * 设置：病种ID
	 */
	public void setEntityId(Long entityId) {
		this.entityId = entityId;
	}
	/**
	 * 获取：病种ID
	 */
	public Long getEntityItemId() {
		return entityItemId;
	}
	/**
	 * 设置：标准项目ID
	 */
	public void setEntityItemId(Long entityItemId) {
		this.entityItemId = entityItemId;
	}
	/**
	 * 获取：标准项目ID
	 */
	public Long getEntityId() {
		return entityId;
	}
	/**
	 * 设置：操作类型【1：新增】【2：修改】【3：删除】
	 */
	public void setOperType(Integer operType) {
		this.operType = operType;
	}
	/**
	 * 获取：操作类型【1：新增】【2：修改】【3：删除】
	 */
	public Integer getOperType() {
		return operType;
	}
	/**
	 * 设置：操作日期
	 */
	public void setOperTime(Date operTime) {
		this.operTime = operTime;
	}
	/**
	 * 获取：操作日期
	 */
	public Date getOperTime() {
		return operTime;
	}
	/**
	 * 设置：操作人
	 */
	public void setOperUser(String operUser) {
		this.operUser = operUser;
	}
	/**
	 * 获取：操作人
	 */
	public String getOperUser() {
		return operUser;
	}
	/**
	 * 设置：操作内容
	 */
	public void setOperContent(String operContent) {
		this.operContent = operContent;
	}
	/**
	 * 获取：操作内容
	 */
	public String getOperContent() {
		return operContent;
	}

	public SdsQcentityEntity getQcentity() {
		return qcentity;
	}

	public void setQcentity(SdsQcentityEntity qcentity) {
		this.qcentity = qcentity;
	}

	public SdsQcentityItemEntity getQcentityItem() {
		return qcentityItem;
	}

	public void setQcentityItem(SdsQcentityItemEntity qcentityItem) {
		this.qcentityItem = qcentityItem;
	}
}
